package com.wn.service;

import com.wn.service.controller.WorkProduct3;
import com.wn.service.controller.WorkProduct4;
import com.wn.service.controller.WorkProduct5;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author yellow Docter
 * @date 2022 -08-31
 * @desc
 */
@SpringBootTest
public class RabbitMqTest03 {

    @Autowired
    private WorkProduct5 workProduct5;

    @Test
    public void demo03(){
        String s = workProduct5.sendMsg("exchange-rpc", "rpc", "中了500w");
        System.out.println("s = " + s);
    }
}
